package com.yuelife.service;

import com.yuelife.service.dao.SProductMapper;
import com.yuelife.service.pojo.SProduct;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class test {
    @Autowired
    private SProductMapper sProductMapper;
    @Test
    public void testselectSProduct(){
        List<SProduct> sProducts = sProductMapper.selectSProduct();
        System.out.println(sProducts);

    }

}
